import redis.clients.jedis.Jedis;
/**
 * Created by L.jp
 * Description:连接redis
 * User: 86189
 * Date: 2022-12-11
 * Time: 0:48
 */
public class Test_Connect {
    public static void main(String[] args) {
        Jedis jedis=new Jedis("101.35.154.52",6379);
        String response=jedis.ping();
        System.out.println("pong="+response);
    }
}
